let oxy = new Proxy({
    name: "feixiang",
    age: 9
}, {
        get: function (target, key, receiver) {
            console.log(`get${key}`);
            console.log(receiver);
            return Reflect.get(target, key, receiver)
        },
        //  set 就是赋值
        set: function (target, key, value) {
            console.log(`set${key} ${value}`);
            target[key] = value;
            return Reflect.set(target, key, value)
        }
    }
)
console.log(oxy.name,oxy.age);
oxy.age = 20;